import request from "@/utils/requset";

export function getBannerList() {
  return request("/banner");
}

export function getRecommendList(data = {}) {
  return request("/HomeRecommend?seed=1&drag=1&page_num=1", data);
}

export const rankList = (data = {}) => {
  return request('/HomeHot?type=0', data);
}

export const categoryData = (data = {}) => {
  return request('/ClassPage?style_id=-1&area_id=-1&is_finish=-1&order=0&is_free=-1&page_num=1&page_size=15', data)
}

export const categoryList = (data = {}) => {
  return request('/AllLabel', data)
}
